Test Series - computer fundamental

Test Number 19/95

Q: Binary addition of 1 + 1 gives the result ___________
A. 0
B. 1
C. 2
D. 10
Solution: The result obtained is 0 with a carry of 1. This carry obtained is added to the next higher column. Binary system can have only two numbers 0 and 1.
Q: 4-bit is a valid IEEE- format.
A. True
B. False
C. ..
D. none
Solution: The two main IEEE formats are 16-bit and 32-bit. No format of 4-bit exists. Further, 8-bit format also exists.
In IEEE format, there are certain bits allotted to sign, exponent and mantissa.
Q: The result of 0 – 1 in binary is ______________
A. 0
B. 1
C. 11
D. 10
Solution: The binary subtraction 0 – 1 gives the result 1. A borrow of 1 is although generated and is removed from the next higher column.
Q: The complement of any number can be given by a general term _______________
A. Bn – 1 – N
B. Bn -1 + N
C. Bn +1 – N
D. Bn +1 + N
Solution: Complement of a number can be given by the term :
C= Bn – 1 – N.
Here,
B= base
n= number of digits
N= the number.
Q: The IEEE standard followed by almost all the computers for floating point arithmetic _____
A. IEEE 260
B. IEEE 488
C. IEEE 754
D. IEEE 610
Solution: Most computers follow the IEEE 754 bit format for floating point arithmetic. IEEE stands for electrical and electronic engineers. It has all the floating point arithmetic specifications.
Q: Which of the following is often called the double precision format?
A. 64-bit
B. 8-bit
C. 32-bit
D. 128-bit
Solution: The 64-bit format is referred to as the double precision format. It has 1 sign bit, 8 exponent bits and 23 bits for the mantissa.
Q: What is NaN in IEEE standards?
A. Not arithmetic
B. Not a negation
C. Not a number
D. Not a Node
Solution: It stands for not a number in IEEE standards. A NaN is obtained whenever a result id indeterminate like whenever anything is divided by 0.
Q: The result that is smaller than the smallest number obtained is referred to as ___________
A. NaN
B. Underflow
C. Smallest
D. Mantissa
Solution: It is referred to as underflow. Nan stands for not a number. The mantissa is the part after the decimal.
Q: The number of sign bits in a 32-bit IEEE format _________
A. 1
B. 11
C. 9
D. 23
Solution: There is only 1 sign bit in all the standards. In a 32-bit format, there is 1 sign bit, 8 bits for the exponent and 23 bits for the mantissa.
Q: Express the decimal format of the signed binary number (101010)2 .
A. 10
B. 12
C. -12
D. -10
Solution: The first bit is the sign bit whereas the rest of the bits are magnitude bits. So the number is: 01010 =23 * 1 + 21 * 1 =8+2 =10.
But, the sign bit is 1 ,
Therefore the answer is : (-2)10.

You Have Score    /10